GtkPlacesSidebar: avoid location clicks to grab focus
authorNelson Benítez León <nbenitezl@gmail.com>
Sat, 18 Apr 2020 18:24:53 +0000 (14:24 -0400)
committerNelson Benítez León <nbenitezl@gmail.com>
Sat, 18 Apr 2020 18:43:02 +0000 (14:43 -0400)
Sibebar location rows should not grab focus on click.

Fixes filechooser issue #1469

gtk/ui/gtksidebarrow.ui

index 0fdbc0e37c30db5764df8b183acece8f879414ad..e2dc4794762430a87f755c5f81be883eb7d83f11 100644 (file)
@@ -3,6 +3,7 @@
   <template class="GtkSidebarRow" parent="GtkListBoxRow">
     <property name="margin-top">1</property>
     <property name="margin-bottom">1</property>
+    <property name="focus-on-click">False</property>
     <style>
       <class name="sidebar-row"/>
     </style>